Extension Preferences Schema
EXTENSION Element
See Also  Send comments on this topic.
Extension Preferences Schema : EXTENSION Element

Glossary Item Box

Description

Used to define an Extension dll and configure its loading settings

Diagram

EXTENSION Element

Overview

EXTENSION
Used to define an Extension dll and configure its loading settings
delayload optional Restriction of xs:string
Specified whether to delay the loading of the extension dll.
enabled optional Restriction of xs:string
Specifies if the extension is enabled or not.

Attributes

NameTypeUseDefaultFixedDescription
delayloadRestriction of xs:stringoptionaltrue Specified whether to delay the loading of the extension dll.
enabledRestriction of xs:stringoptionaltrue Specifies if the extension is enabled or not.

Remarks

From a C++ perspective, all extensions/module implement APExGetProperty() that tell ArcPad what those extensions do. When we load an extension/module record what each extensions's responses were to APExGetProperty() and save them to ExtensionPrefs.apx.

In <EXTENSION> tag, users can set the value of two attributes: delayload and enabled.All other attributes are information of reponses to APExGetProperty() saved by ArcPad when extensions are loaded.

Examples

Source

<xs:element name="EXTENSION" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:attribute default="true" name="delayload">
      <xs:annotation>
        <xs:documentation>Specified whether to delay the loading of the extension dll.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="enabled" default="true">
      <xs:annotation>
        <xs:documentation>Specifies if the extension is enabled or not.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.